package at.fhooe.mcm.app;

import java.awt.EventQueue;

import at.fhooe.mcm.logic.core.Core;
import at.fhooe.mcm.logic.logging.LoggingService;
import at.fhooe.mcm.view.ConnectionView;

public class EMSClient
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		EventQueue.invokeLater(new Runnable()
		{
			public void run()
			{
				try
				{
					// initialize the application's core
					Core core = Core.createClientCore(LoggingService.DEBUG);
					core.start();

					new ConnectionView(core);
				}
				catch (Exception e)
				{
					e.printStackTrace();
				}
			}
		});

	}

}
